package com.csii.adhoc.dataready.mapper;

import com.csii.adhoc.dataready.TDataMergePo;

import java.util.List;
import java.util.Map;

public interface TDataMergeMapper {
    int deleteByPrimaryKey(String relationId);

    int deleteByModelId(String modelId);

    int insertOneTDataMerge(TDataMergePo record);

    int insertSelective(TDataMergePo record);

    TDataMergePo selectByPrimaryKey(String modelId);

    int updateByPrimaryKeySelective(TDataMergePo record);

    int updateByPrimaryKey(TDataMergePo record);

    List<TDataMergePo> selectListTDataMerge(String type);

    List<Map<String,String>> selectTableIdByModelId(String modelId) ;

    TDataMergePo selectOneTDataMerge(String modelId, String type);

    Map selCustDataDbTable(String model_id);
}